package unit4.work.animal;

public class PolarBear extends Animal implements IAnimal {
    String dm;

    public String getDm() {
        return dm;
    }

    public void setDm(String dm) {
        this.dm = dm;
    }

    public PolarBear(String name, String food, String area,String dm) {
        super(name, food, area);
        this.dm="冬眠";
    }

    @Override
    public String findFood() {
        return this.getName()+"吃"+this.getFood();

    }

    @Override
    String wholeLife() {

        return this.getName()+"生活中";
    }

    @Override
    public String born() {
        return "北极";
    }

    @Override
    public String old() {
        return "三年";
    }

    @Override
    public String sick() {
        return null;
    }

    @Override
    public String die() {
        return null;
    }
}
